package com.onlineexam.mapper;

import com.onlineexam.bean.PanDuan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PanDuanMapper {
    //判断题列表
    @Select("SELECT b.*,panduan_id as 'panduanId',createdby as 'createdBy',create_time as 'createTime' from panduan b order by create_time desc;")
    List<PanDuan> list();


}
